<table cellpadding="5">
	<input name="id" type="hidden" value="${(gatewayItem.id)!}" />
	<tr>
		<td>所属项目：</td>
		<td>
			<@eu.comboBox required="true" url="project.do?loadProjectCombox&key=PROJECT_TYPE&value=${(gatewayItem.projectId)!}" name="projectId" onSelect="linkActionByProCombox('editGatewayBuildId','editGatewayUnitId','editGatewayHouseId',null,value)"/>
		</td>
		<td class="tbLabel">所属楼栋:</td>
		<td>
			<@eu.comboBox id="editGatewayBuildId" required="true" url="building.do?loadBuildingCombox&projectId=${(gatewayItem.projectId)!}&value=${(gatewayItem.buildingId)!}" name="buildingId" onSelect="linkActionByBuildCombox('editGatewayUnitId','editGatewayHouseId',null,value)"/>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">所属单元:</td>
		<td>
			<@eu.comboBox id="editGatewayUnitId" required="true" url="unit.do?loadUnitCombox&buildId=${(gatewayItem.buildingId)!}&value=${(gatewayItem.unitId)!}" name="unitId" onSelect="linkActionByUnitCombox('editGatewayHouseId',null,value)"/>
		</td>
		<td class="tbLabel">所属房屋:</td>
		<td>
			<@eu.comboBox id="editGatewayHouseId" required="true" url="house.do?loadHouseCombox&unitId=${(gatewayItem.unitId)!}&value=${(gatewayItem.houseId)!}" name="houseId" />
		</td>
	</tr>
	<tr>
		<td class="tbLabel">地址唯一码:</td>
		<td>
			<input name="addressKey"  class="easyui-validatebox textbox" data-options="required: true" value="${(gatewayItem.addressKey)!}"/>
		</td>
		<td class="tbLabel">网关名称:</td>
		<td>
			<input name="name"  class="easyui-validatebox textbox" data-options="required: true" value="${(gatewayItem.name)!}"/>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">外网IP地址:</td>
		<td>
			<input name="outIp"  class="easyui-validatebox textbox" data-options="required: true" value="${(gatewayItem.outIp)!}"/>
		</td>
		<td class="tbLabel">内网IP地址:</td>
		<td>
			<input name="inIp"  class="easyui-validatebox textbox" data-options="required: true" value="${(gatewayItem.inIp)!}"/>
		</td>
	</tr>
	<tr>
		<td class="tbLabel">端口:</td>
		<td>
			<input name="port" style="width:158px;" class="easyui-numberbox"  precision="0" data-options="required: true" value="${(gatewayItem.port)!}"/>
		</td>
	</tr>
	<tr>
		<#if (gatewayItem.udid)??>
		<td class="tbLabel">二维码:</td>
		<td>
			<img alt="" src="/qrcode/${(gatewayItem.udid)!}.png" onerror="/qrcode/jmax.png">
		</td>
		</#if>
		
	</tr>
</table>
